<?php

// reference the file containing the Chat class
require_once("connectDB.class.php");

// create a new Chat instance
$chat = new Chat();

// retrieve the operation to be performed
$mode = $_GET['mode'];

if($mode == 'neiuws'){
    // delete all existing messages
$chat->readNieuws();
}

?>
